/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package is.bean.department;

import java.rmi.RemoteException;
import java.util.Collection;
import javax.ejb.*;

/**
 *
 * @author aspr0
 */
public interface DepartmentBeanRemoteHome extends EJBHome
{
    DepartmentBeanRemote findByPrimaryKey(Integer key) throws FinderException, RemoteException;

    Collection findByExample(Department example) throws RemoteException;

    DepartmentBeanRemote createInstance(Department data) throws CreateException, RemoteException;

    Collection findParentsAvailable(Integer id) throws RemoteException;
}
